-
Notifications
You must be signed in to change notification settings - Fork 133
✨ feat: upgrade to testcontainers v2 #517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
project/Plugins.sbt
Outdated
| addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.0") | ||
|
|
||
| ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaeljw try without it, maybe the CI doesn't need this? In local on my laptop it raises errors due to potential conflicts scala-xml 1.x and 2.x
|
Ok, tests are succesfully locally now. You can approve to run on the CI :) |
|
@gaeljw Thank you so much! I'll try to review it this week |
|
FYI merged master back in since it got a couple of changes since then. Let me know if you want me to rebase and clean the history before reviewing. |
| } | ||
|
|
||
| private val testcontainersVersion = "1.21.1" | ||
| private val testcontainersVersion = "2.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might as well go straight to 2.0.2 to unbreak newer docker: testcontainers/testcontainers-java#11212
| private val testcontainersVersion = "2.0.0" | |
| private val testcontainersVersion = "2.0.2" |
Aims to fix #516
As per the v2 CHANGELOG:
KafkaContainertoConfluentKafkaContainerKafkaContainerthat targets the Apache Kafka image (as testcontainers-java does) (Descriptionimports